<div>
  <h2>{{title}}</h2>
  <button (click)="counter.dec()">-</button>
  {{counter.getCount}}
  <button (click)="counter.inc()">+</button>
<div>